package com.bootdo.system.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.bootdo.system.dao.CircleMessageDao;
import com.bootdo.system.domain.CircleMessageDO;
import com.bootdo.system.service.CircleMessageService;



@Service
public class CircleMessageServiceImpl implements CircleMessageService {
	@Autowired
	private CircleMessageDao circleMessageDao;
	
	@Override
	public CircleMessageDO get(Integer id){
		return circleMessageDao.get(id);
	}
	
	@Override
	public List<CircleMessageDO> list(Map<String, Object> map){
		return circleMessageDao.list(map);
	}
	
	@Override
	public int count(Map<String, Object> map){
		return circleMessageDao.count(map);
	}
	
	@Override
	public int save(CircleMessageDO circleMessage){
		return circleMessageDao.save(circleMessage);
	}
	
	@Override
	public int update(CircleMessageDO circleMessage){
		return circleMessageDao.update(circleMessage);
	}
	
	@Override
	public int remove(Integer id){
		return circleMessageDao.remove(id);
	}
	
	@Override
	public int batchRemove(Integer[] ids){
		return circleMessageDao.batchRemove(ids);
	}
	
}
